package com.uchengwang.functions.http.config;

import com.uchengwang.functions.http.listener.IHttpManager;

/**
 * Created by U城网 on 2017/12/14.
 * 享聊
 */

public interface WantChatConfig {

    public interface Chat{
        IHttpManager.RequestMethod method_get = IHttpManager.RequestMethod.GET;//获取享聊列表
        IHttpManager.RequestMethod method_post = IHttpManager.RequestMethod.POST;//上传享聊资料
        IHttpManager.RequestMethod method_put = IHttpManager.RequestMethod.PUT;//修改享聊资料
        String URL = "/chat";
    }

    public interface BanChat{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.PUT;//在享聊里封禁一个人
        String URL = "/chat/ban";
    }

    public interface ExamineChat{
        IHttpManager.RequestMethod method_get = IHttpManager.RequestMethod.GET;//获取享聊审核列表
        IHttpManager.RequestMethod method_put = IHttpManager.RequestMethod.PUT;//审核某一条享聊信息
        String URL = "/chat/examine";
    }

    public interface ChatMy{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;//获取自己的享聊信息
        String URL= "/chat/my";
    }

    public interface ChatReport{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.PUT;//举报某一个人
        String URL = "/chat/report";
    }

    public interface ChatCover{
        IHttpManager.RequestMethod method_get = IHttpManager.RequestMethod.GET;//获取与某一个人聊天 对方是否有覆盖层
        IHttpManager.RequestMethod method_put = IHttpManager.RequestMethod.PUT;//修改与一个的覆盖层
        String URL = "/chat/clear";
    }

    public interface ChatHistory{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;//和某人聊天时. 创建一条聊天数据
        String URL= "/chat/history";
    }

    public interface GetChatOne{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;//获取某一个人的享聊信息
        String URL = "/chat/one";
    }

    public interface sendMsg{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.POST;//发送一个灰色的提醒信息
        String URL = "/chat/privatemsg";
    }
}
